public class Demo7 {
    public static void main(String[] args) {
        Thread thread = new Thread(()->{
            System.out.println("hello thread");
        });
        thread.start();
        System.out.println("dsad");
    }
    //抢占式执行
}
